<%--
  Created by IntelliJ IDEA.
  User: ch-hui
  Date: 15/12/19
  Time: 下午8:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/common/taglibs.jsp" %>
<html>
<head>
    <title>供应商明细</title>
</head>
<body>
<div class="row">
  <div class="col-lg-12">
    <div class="ibox float-e-margins">
      <div class="ibox-title">
        <h5>原料供应商 <small></small></h5>
        <div class="ibox-tools">
          <a class="collapse-link">
            <i class="fa fa-chevron-up"></i>
          </a>
          <a class="close-link">
            <i class="fa fa-times"></i>
          </a>
        </div>
      </div>
      <div class="ibox-content">
        <form class="form-horizontal m-t" id="signupForm">
          <input type="hidden" name="supplyId" value="${supply.id}"/>
          <div class="form-group">
            <label class="col-sm-3 control-label">供应商名称：</label>
            <div class="col-sm-8">
              <input id="firstname" name="supply_name" value="${supply.name}" class="form-control" type="text">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-3 control-label">联系人：</label>
            <div class="col-sm-8">
              <input id="lastname" name="contact_person" value="${supply.contact_person}" class="form-control" type="text" aria-required="true" aria-invalid="false" class="valid">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-3 control-label">联系人电话：</label>
            <div class="col-sm-8">
              <input id="username" name="telephone" value="${supply.telephone}" class="form-control" type="text" aria-required="true" aria-invalid="true" class="error">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-3 control-label">传真：</label>
            <div class="col-sm-8">
              <input name="fax" class="form-control" type="text" value="${supply.fax}">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-3 control-label">地址：</label>
            <div class="col-sm-8">
              <input name="address" class="form-control" type="text" value="${supply.address}">
            </div>
          </div>
          <div class="form-group">
            <div class="col-sm-8 col-sm-offset-3">
              <button class="btn btn-primary" type="submit"><i class="fa fa-edit"></i>&nbsp;保存</button>
              <button class="btn btn-primary" type="button" id="backButton"><i class="fa fa-undo"></i>&nbsp;返回</button>
              <button class="btn btn-danger" type="button" id="deleteButton" style="display: none"><i class="fa fa-trash-o"></i>&nbsp;删除</button>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
<script type="text/javascript" src="${BASE}/www/script/supply/supply_form.js"></script>
</body>
</html>
